/**
 * (C) Copyright 2010 Hewlett-Packard Development Company, L.P.
 */

package org.third.security.cert;

import java.util.Arrays;
import java.util.List;

public class ClientCertificateConstants {

    public static final String EMAIL_SUBJECT_ATTR = "emailAddress";

    // !!! important - set value only in lower case !!!

    // SubjectDN
    public static final List<String> EmailOptions = Arrays.asList(EMAIL_SUBJECT_ATTR.toLowerCase(), "e");

    // Subject Alternative Name
    public static final List<String> OtherNameOptions = Arrays.asList("other name", "principalname", "principal name",
            "microsoft principal name");
    public static final List<String> RFC822NameOptions = Arrays.asList("rfc822 name", "rfc822name", "emailaddress", "email address",
            "e-mail address", "e-mailaddress");
    public static final List<String> DNSNameOptions = Arrays.asList("dns name", "dnsname");
    // x400Address - empty
    public static final List<String> DirectoryNameOptions = Arrays.asList("directory address", "directory address", "x500 name", "x500name",
            "x.500 name", "x.500name");
    // ediPartyName - empty
    public static final List<String> UriOptions = Arrays.asList("url", "uri");
    public static final List<String> IPAddressOptions = Arrays.asList("ip address", "ipaddress");
    public static final List<String> RegisteredIDOptions = Arrays.asList("registered id", "registeredid", "registered oid",
            "registeredoid");

}
